package com.team.instantsharing.ultils;

public class Constant {
//	public static final String SERVICE_URL = "https://demo-cloudsharing.rhcloud.com/cloudsharing";
	public static final String SERVICE_URL = "http://localhost:8080/cloudsharing";
	public static final String AMAZON_BUCKET = "cloudsharingpublic";
	// User
	public static final long NOT_REGISTER = -3;
	public static final long WRONG_PASSWORD = -2;
	public static final long NOT_ACTIVATE = -1;
	public static final String SECRET_KEY_SOCIAL = "45BF034E847CE0FFB15AF399831545992DBD01EF676E2922F8B4FFA051E36AAF";
	public static final String CLOUDSHARING_TOKEN = "E94F173CA6B26544D0492C4F374E42C75CF32BB91312F555570DB19A1CBB86E3";
	// Logout
	public static final String LOGOUT_SUCCESS = "Logout successfully";
	public static final String LOGOUT_FAIL = "Failure";
	// Register
	public static final String EMAIL_EXIST = "Email exist";
	public static final String REGISTER_SUCCESS = "Register successfully";
	public static final String REGISTER_FAIL = "Failure";
	// Register Confirm
	public static final String ACTIVATE_SUCCESS = "Activate successfully";
	public static final String INVALID_ACTIVATION = "Invalid activation link";
	public static final String EXPIRED_ACTIVATION = "Expired activation link";
	// Forgot Password
	public static final String SEND_EMAIL_FORGET_SUCCESS = "Send email forget password successfull";
	public static final String EMAIL_NOT_EXIST = "Email is not exist in system";
	// Change Password
	public static final String CHANGE_PASSWORD_SUCCESS = "Change password success";
	public static final String CHANGE_PASSWORD_FAILURE = "Change password failure";

	// Suffix
	public static final String SUFFIX = "/";
	public static final String EMPTY_PATH = "";

	// File
	public static final String UPLOAD_FILE_SUCCESS = "Upload file successfully";
	public static final String UPLOAD_FILE_FAILURE = "Upload file failure";
	public static final String MOVE_FILE_SUCCESS = "Move file successfully";
	public static final String MOVE_FILE_FAILURE = "Move file failure";
	public static final String RENAME_FILE_SUCCESS = "Rename file successfully";
	public static final String RENAME_FILE_FAILURE = "Rename file failure";
	public static final String SAVE_FILE_SUCCESS = "Save file successfully";
	public static final String UPDATE_FILE_SUCCESS = "Update file successfully";
	public static final String SAVE_FILE_FAILURE = "Save file failure";
	public static final String MOVE_FILE_TO_TRASH_SUCCESS = "Move file to trash successfully";
	public static final String MOVE_FILE_TO_TRASH_FAILURE = "Move file to trash failure";
	public static final String RESTORE_FILE_FROM_TRASH_SUCCESS = "Restore file from trash successfully";
	public static final String RESTORE_FILE_FROM_TRASH_FAILURE = "Restore file from trash failure";
	public static final String RESTORE_FILE_FAILURE_BECAUSE_FOLDER_PARENT = "Restore file from trash failure because folder contain it was deleted";
	public static final String DELETE_FILE_SUCCESS = "Delete file successfully";
	public static final String DELETE_FILE_FAILURE = "Delete file failure";
	public static final String MOVE_FILE_TO_ANOTHER_FOLDER_SUCCESS = "Move file to another folder successfully";
	public static final String MOVE_FILE_TO_ANOTHER_FOLDER_FAILURE = "Move file to another folder failure";
	public static final String COPY_FILE_TO_ANOTHER_FOLDER_SUCCESS = "Copy file to another folder successfully";
	public static final String COPY_FILE_TO_ANOTHER_FOLDER_FAILURE = "Copy file to another folder failure";
	public static final String CREATE_FILE_SUCCESS = "Create file successfully";
	public static final String CREATE_FILE_FAILURE = "Create file failure";

	// Folder
	public static final long FOLDER_ID_PARENT_OF_ROOT = -1;
	public static final String CREATE_FOLDER_SUCCESS = "Create folder successfully";
	public static final String FOLDER_ROOT_EXIST = "Folder root existed";
	public static final String CREATE_FOLDER_FAILURE = "Folder is existed";
	public static final String MOVE_FOLDER_SUCCESS = "Move folder successfully";
	public static final String MOVE_FOLDER_FAILURE = "Move folder unsuccessfully";
	public static final String RENAME_FOLDER_SUCCESS = "Rename folder successfully";
	public static final String RENAME_FOLDER_FAILURE = "Rename folder unsuccessfully";
	public static final String MOVE_FOLDER_TO_TRASH_SUCCESS = "Move folder to trash successfully";
	public static final String MOVE_FOLDER_TO_TRASH_FAILURE = "Move folder to trash failure";
	public static final String RESTORE_FOLDER_FROM_TRASH_SUCCESS = "Restore folder from trash successfully";
	public static final String RESTORE_FOLDER_FROM_TRASH_FAILURE = "Restore folder from trash failure";
	public static final String RESTORE_FOLDER_FAILURE_BECAUSE_FOLDER_PARENT = "Restore folder from trash failure because folder parent is deleted";
	public static final String DELETE_FOLDER_SUCCESS = "Delete folder successfully";
	public static final String DELETE_FOLDER_FAILURE = "Delete folder failure";
	public static final String SHARE_FOLDER_SUCCESS = "Share folder successfully";
	public static final String CANNOT_SHARE_FOLDER = "Can not share this folder";
	public static final String MOVE_FOLDER_TO_ANOTHER_FOLDER_SUCCESS = "Move folder to another folder successfully";
	public static final String MOVE_FOLDER_TO_ANOTHER_FOLDER_FAILURE = "Move folder to another folder failure";

	// Type document
	public static final Integer DOC_FOLDER = 0;
	public static final Integer DOC_FILE = 1;

	// File/Folder Permission
	public static final Integer DOCUMENT_PRIVATE = -1;
	public static final Integer DOCUMENT_PUBLIC = 1;

	// Google Cloud Messaging
	public static final String GOOGLE_API_KEY = "AIzaSyD2COtA8XpoPAEITz_PYMVd0E2wbUMnuHI";
	public static final String ROLE_CAN_EDIT = "Can Edit";
	public static final String ROLE_OWNER = "Owner";
	public static final String ACTION_LEAVE = "Leave";
	public static final String ACTION_UNSHARE = "UnShare";
}
